package ChainOfResponsibility;

/**
 * @Author zhangjinxi
 * @Date: Created in 13:51 2018/3/1
 * @Description:
 */
public class HandlerTest {

    public static void main(String[] args) {
        Handler1 handler1 = new Handler1();
        Handler2 handler2 = new Handler2();

        handler2.setHandler(handler1);
        handler2.operator();
    }

}
